package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 简历映射关系对象 byw_vitea_ownership_relation
 * 
 * @author ruoyi
 * @date 2024-05-24
 */
public class BywViteaOwnershipRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 简历用户的id */
    @Excel(name = "简历用户的手机号")
    private String viteaPhone;

    /** 所属的达人或用户id */
    @Excel(name = "所属的达人或用户id")
    private Long userId;

    /** 0:达人，1:用户 */
    @Excel(name = "0:达人，1:用户")
    private Integer type;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 0:未结算1：已结算 */
    @Excel(name = "0:未结算1：已结算")
    private Integer state;

    /** 结算时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结算时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date settlementTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getViteaPhone() {
        return viteaPhone;
    }

    public void setViteaPhone(String viteaPhone) {
        this.viteaPhone = viteaPhone;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setSettlementTime(Date settlementTime) 
    {
        this.settlementTime = settlementTime;
    }

    public Date getSettlementTime() 
    {
        return settlementTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("viteaPhone", getViteaPhone())
            .append("userId", getUserId())
            .append("type", getType())
            .append("creatTime", getCreatTime())
            .append("state", getState())
            .append("settlementTime", getSettlementTime())
            .toString();
    }
}
